package org.dbutils.dao;

import org.dbutils.entity.StaffEntity;

import java.util.List;

/**
 * @AUTHOR CJ
 * <p>
 * *@DATE 2025 - 02 - 26
 */
public interface StaffDao {
    StaffEntity selectById(int id);

    List<StaffEntity> selectByPage(int currentPage, int pageSize);

    int update(StaffEntity staff);

    int deleteStaff(int id);

    int insertStaff(StaffEntity staff);

}
